/**********************************************************************
 *** 名称：RoleInfo.cpp
 *** 描述：RoleInfo类中定义方法的实现。
 *********************************************************************/
#include "RoleInfo.h"

RoleInfo::RoleInfo(int x_start, int y_start, int kind){
	this->x = x_start;
	this->y = y_start;
	this->k = kind;
}

RoleInfo::~RoleInfo(){}

int RoleInfo::getRoleInfoX(){
	return this->x;
}

int RoleInfo::getRoleInfoY(){
	return this->y;
}

int RoleInfo::getRoleInfoK(){
	return this->k;
}

void RoleInfo::setRoleInfoX(int xNew){
	this->x = xNew;
}

void RoleInfo::setRoleInfoY(int yNew){
	this->y = yNew;
}

void RoleInfo::setRoleInfoK(int kind){
	this->k = kind;
}